package com.chuangjiangx.member.coupon.web.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author cj-ch
 * @date 2018/7/18 上午9:41
 */
@Data
@ApiModel
public class MbrHasCouponResponse {
    @ApiModelProperty(value = "会员领取卡券ID")
    private Long mbrHasCouponId;
    @ApiModelProperty(value = "卡券ID")
    private Long mbrCouponId;
    @ApiModelProperty(value = "卡券编号")
    private String couponNumber;
    @ApiModelProperty(value = "卡券名称")
    private String name;
    @ApiModelProperty(value = "卡券logo图片")
    private String logo;
    @ApiModelProperty(value = "卡券类型,1-代金券 2-折扣券 3兑换券")
    private Integer type;
    @ApiModelProperty(value = "卡券验券时间")
    private Date verifyTime;
    @ApiModelProperty(value = "卡券核销码")
    private String verifyCode;
    @ApiModelProperty(value = "卡券使用(核销)时间")
    private Date useTime;
    @ApiModelProperty(value = "卡券使用有效期类型 0-固定时间 1-立即生效")
    private Integer validType;
    @ApiModelProperty(value = "卡券使用有效期,固定开始时间,valid_type=0时有值")
    private Date validTimeStart;
    @ApiModelProperty(value = "卡券使用有效期,固定结束时间,valid_type=0时有值")
    private Date validTimeEnd;
    @ApiModelProperty(value = "卡券领取时间")
    private Date claimTime;
    @ApiModelProperty(value = "领取后X天内有效,valid_type=1时有值")
    private Integer claimedTime;
    @ApiModelProperty(value = "卡券面值")
    private BigDecimal amount;
    @ApiModelProperty(value = "卡券最低消费限制")
    private BigDecimal miniExpendLimit;
    //卡券适用门店列表
    @ApiModelProperty(value = "卡券适用门店列表")
    private List<Long> applyStores;

    @ApiModelProperty(value = "说明每个星期中周几可使用卡券",example = "1,2,3,4,5,6,7")
    private String useTimeWeek;
    // 卡券使用时段 7:00-9:00,13:00-14:00
    @ApiModelProperty(value = "卡券使用时段",example = "7:00-9:00,13:00-14:00")
    private String useTimeDay;
}
